package com.lizi.idgenerator.dto.idcreator;

import com.baomidou.mybatisplus.annotation.TableField;
import com.sun.istack.internal.NotNull;

/**
 * Id生成器结果模型
 * @author kingman
 * @since 2020-12-15 18:14
 */
public class IdCreatorResultModel {

    /**
     * 生成器Id
     */
    private Integer id;
    /**
     * 业务(应用.业务.表名),全平台唯一
     */
    private String businessId;
    /**
     * 当前值
     */
    private Long currentValue;
    /**
     * 生成值
     */
    private Long createdValue;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public Long getCurrentValue() {
        return currentValue;
    }

    public void setCurrentValue(Long currentValue) {
        this.currentValue = currentValue;
    }

    public Long getCreatedValue() {
        return createdValue;
    }

    public void setCreatedValue(Long createdValue) {
        this.createdValue = createdValue;
    }
}
